package com.xja.server.impl;

import com.xja.mapper.TaskMapper;
import com.xja.pojo.Task;
import com.xja.server.TaskServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TaskServerImpl implements TaskServer {

    @Autowired
    private TaskMapper taskMapper;

    @Override
    public List<Task> findAll() {
        return taskMapper.selectList(null);
    }
}
